home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.programming / comp.sys.amiga.programmer_22079_000002.msg < prev    next >
Encoding:
Internet Message Format  |  1994-11-27  |  2.5 KB

  1. Path: etek.chalmers.se!chalmers.se!sunic!mcsun!uunet!decwrl!contessa!mwm
  2. From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: A Style Guide Question
  5. Message-ID: <mwm.2nu7@contessa.palo-alto.ca.us>
  6. Date: 16 Nov 92 07:08:02 GMT
  7. References: <17474@pitt.UUCP>
  8. Organization: Missionaria Phonibalonica
  9. Lines: 45
  10. X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
  11.  
  12. In <17474@pitt.UUCP>, dan@cs.pitt.edu (Dan Drake) wrote:
  13. > This is a style guide question.
  14. > To be consistent in my user interface, I am using buttons called done and 
  15. > cancel, that reside in all of my windows.  I want the user to be able to
  16. > activate these buttons through their keyboard equivalents: eg d for done, 
  17. > and c for cancel.  Now on several of these windows, I want the user to type
  18. > text into a beveled box which I handle manually.  THe problem is that if the
  19. > user wants to type a d or a c, there is some ambiguity concerning what 
  20. > should happen.  Will the buttons be activated, or should the characters
  21. > appear in the "textbox"?  I have 2 solutions, and would be interested in
  22. > any other solutions or recommendations.
  23.  
  24. I just designed an interface around this same problem.
  25.  
  26. > 1.) If a text box is active, the user must click on the buttons to activate
  27. > them.  I consider this unacceptable because it ruins the orthogonality of
  28. > the interface.  You can't have some things work in one window, and not in
  29. > others.
  30.  
  31. I don't particularly like that one, either. It didn't change the
  32. orthoganality of the interface (i.e. - all buttons would be the same),
  33. but it meant you'd have to use the mouse to get to the keyboard
  34. shortcuts.
  35.  
  36. > 2.) Use (ALT|CTRL|right amiga) key to activate the buttons in all cases.
  37. > Alt doesn't work because European languages use it.  Control is awkward
  38. > for left handed people to use like me. (I like to keep one hand on the
  39. > mouse, and one on the keyboard), Right Amiga is somewhat awkward too.
  40.  
  41. You forgot that in standard text gadgets, CTRL can do usefull things.
  42.  
  43. > 3.) Don't use keyboard equivalents.  I really don't like this option.
  44.  
  45. I agree; it's unacceptable. But you forgot:
  46.  
  47. 4.) Add menu items Done and Cancel that are identical to the buttons,
  48.     and have the shortcuts be Amiga-D and Amiga-C.
  49.  
  50. That's what I settled on. That made *all* my keyboard shortcuts be
  51. Amiga-<>, and doesn't interfere with the text entry gadget (which was
  52. the bulk of the application). If you're going to have modes where it
  53. wouldn't be active, you might make unadorned d and c work, as well.
  54.  
  55.     <mike
  56.